package com.qlp.start.Controller;

import com.qlp.start.Service.testService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author itoutsource.cz10
 */
@RestController
public class DomoController {

    @Autowired
    private  testService testService;

    @RequestMapping(value = "/hello",method = RequestMethod.GET)
    public int hello(){
        return testService.countTest();
    }
}
